/**
 * 项目名称:
 *
 * @Author: 夏国倩
 * @Date: 2023/9/9 16:05
 * @Copyright
 */
package itInherit;
public class VoterTest {
    public static void main(String[] args) {
        Voter zhang=new Voter("张三");
        Voter li=new Voter("李四");
        Voter wang=new Voter("王五");
        zhang.voteFor();
        li.voteFor();
        wang.voteFor();

        for (int i=0;i<=97;i++){
            Voter v=new Voter("v"+i);
            v.voteFor();
        }
        Voter v101=new Voter("v101");
        v101.voteFor();
        Voter.printResult();
    }
}
